package cn.wolfcode.wolf2w.cloud.member.exception;

import cn.wolfode.wolf2w.cloud.commom.exception.CodeMsg;

public class MemberCodeMsg extends CodeMsg {
    //public static final MemberCodeMsg
    public static final MemberCodeMsg PHONE_ERROR=new MemberCodeMsg(500100,"手机号码不能为空");
    public static final MemberCodeMsg NICKNAME_ERROR=new MemberCodeMsg(500100,"昵称不能为空");
    public static final MemberCodeMsg PASSWORD_ERROR=new MemberCodeMsg(500100,"密码不能为空");
    public static final MemberCodeMsg REPASSWORD_ERROR=new MemberCodeMsg(500100,"确认密码不能为空");
    public static final MemberCodeMsg PASSWORD_EQUAIT_ERROR=new MemberCodeMsg(500100,"两次输入密码不一致");
    public static final MemberCodeMsg HAS_REDIST_ERROR=new MemberCodeMsg(500100,"该手机号码已经被注册了");

    //将散装的包装成封装的
    public MemberCodeMsg(int code,String msg){
        super(code,msg);
    }
}
